package com.falcon.service;

import com.falcon.domain.dos.ApiDO;
import com.falcon.domain.dos.ApiDO;
import com.falcon.domain.req.ApiQuery;
import com.falcon.domain.req.ApiRequest;
import com.falcon.mvc.domain.BasePager;

import java.util.List;

public interface IApiService {

    Long save(ApiRequest request);

    Boolean update(Long id, ApiRequest request);

    Boolean deleteById(Long id);

    ApiDO queryById(Long id);

    List<ApiDO> queryList(ApiQuery request);

    BasePager<ApiDO> queryPager(ApiQuery request);

    int batchDelete(List<Long> ids);

    List<ApiDO> queryTree(ApiQuery request);
}

